@charset "UTF-8";
@import "base.less";
#ui-message-light {
  .fixed(0,auto,0,48%,auto,auto,20191021);
  display: block;
  text-align: center;
  visibility: hidden;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
  -webkit-animation-iteration-count: 1;
  animation-timing-function: ease;
  -webkit-animation-timing-function: ease;
  -webkit-transform: scale(0);
  transform: scale(0);
  opacity: 0;
  .ui-message-light-content {
    font-size: 18px;
    display: inline-block;
    max-width: 80%;
    min-width: 300px;
    padding: 6px 20px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    .round(80px);
    position: relative;
    z-index: 5;
    .boxshadow(0 0 20px 10px rgba(255, 255, 255, .2));
    h5 {
      display: inline-block;
      vertical-align: top;
      line-height: 40px;
      position: relative;
      z-index: 5;
      color: #fff;
    }
    &:before {
      content: "";
      display: block;
      .absolute(0, 0, 0, 0, auto, auto, 2);
      background: rgba(5, 20, 166, .8);
      border: 1px solid rgba(5, 20, 166, .9);;
      .round(80px);
    }

    .ui-message-light-icon {
      display: inline-block;
      margin: 0;
      margin-right: 10px;
      vertical-align: top;
      width: 44px;
      height: 44px;
      position: relative;
      top: 3px;
    }

    .iconfont {
      color: #3572e1;
      display: inline-block;
      width: 50px;
      height: 50px;
      font-size: 50px;
      margin: 0;
      margin-right: 10px;
      vertical-align: top;
      position: relative;
      &:before {
        position: relative;
        top: -1px;
      }
    }
  }

  &.actived {
    visibility: visible;
    -webkit-animation-duration: .3s;
    animation-duration: .3s;
    animation-name: uilight;
    -webkit-animation-name: uilight;
  }

  @keyframes uilight {
    from {
      -webkit-transform: translateY(500%);
      transform: translateY(500%);
      opacity: 0;
    }
    to {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
  }
  @-webkit-keyframes uilight {
    from {
      -webkit-transform: translateY(500%);
      transform: translateY(500%);
      opacity: 0;
    }
    to {
      -webkit-transform: translateY(0);
      transform: translateY(0);
      opacity: 1;
    }
  }
}
